package cn.zn.modules.pz.his.entity;

import lombok.Data;
import org.mongodb.morphia.annotations.Entity;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Entity
@Document(collection = "pz_attachment")
public class PzAttachment {
    @Field("ap")
    private Integer ap;
    @Field("main_id")
    private String mainId;
    @Field("attachment_id")
    private String attachmentId;
    @Field("content_type")
    private String contentType;
    @Field("desc")
    private String desc;
    @Field("generate_name")
    private String generateName;
    @Field("path_local")
    private String pathLocal;
    @Field("path_relative")
    private String pathRelative;
    @Field("real_name")
    private String realName;
    @Field("size")
    private Long size;
    @Field("suffix")
    private String suffix;
    @Field("is_main")
    private Boolean isMain;
    @Field("attachment_type")
    private String attachmentType;

}
